class CreateTailieus < ActiveRecord::Migration
  def change
    create_table :tailieus do |t|
		t.string :ten
		t.string :tacgia
		t.text   :mota
		t.string :link
		t.integer    :luot_down
		t.integer    :luot_xem
		t.references :truong, :theloai
      t.timestamps
    end
  end
end
